﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ExcelTest
{
    public class UserInfo
    {
        [ExcelColum("学号")]
        public int Id { get; set; }
        [ExcelColum("姓名")]
        public string Name { get; set; }
        [ExcelColum("创建时间")]
        public DateTime CreateTime { get; init; }= DateTime.Now;
        [ExcelColum("小数")]
        public double Print { get; set; }
        [ExcelColum(Ignore = true)]
        public string Remark { get; set; }

        public UserInfo(int id, string name, double print, string remark)
        {
            Id = id;
            Name = name;
            Print = print;
            Remark = remark;
        }
    }
}
